Update with a loop so that the user returns to the main menu after completing an action until he decides to quit.