On exit through the menu - ask for storing the changes