Allow user to quit app with back button.