saving level and returning to main menu