Implement functionality for the control menu