Fixed typo in main menu function