Implemented the action listener on the ControllerPane