Implemented class to handle hotkeys