private void handleOptions(int keyCode) {
            switch (keyCode) {
                case DeviceSpecification.LSK:
                case DeviceSpecification.CLEAR:
                    if (applicationState.lastState() == ApplicationState.MAIN_MENU) {
                        applicationState.setState(ApplicationState.MAIN_MENU);

                    } else {
                        applicationState.setState(ApplicationState.METRONOME_STOPPED);
                    }
                    break;
                case DeviceSpecification.RIGHT:
                case Canvas.KEY_NUM6:
                    metronome.nextKit(view.supportedSounds());
                    break;

                case DeviceSpecification.LEFT:
                case Canvas.KEY_NUM4:

                    metronome.previousKit(view.supportedSounds());
                    break;



            }
        }