Refactor action mode, add main menu mode
Add menu