refactor the main menu item