Use a helper method to register each button handler. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>