Added Exit function in main menu