1. mainMenu: Refactoring