added menuButtonHandler