Give the main menu some functionality