Allow app to be closed with back button