- refactored main menu