Added buttons to the controller.