Changing the 'quit' button to a 'back' button