Saving changes to the menu and cleaning up after