Fix bug that dose not press the menu button

fixed #324