title: Quit the application on a specific view
body: <p>I have a doubt:
  I have an app with 10 views. I want that, if the user is on View1 and sends the app to the background, it terminates the application (exit (0)). But I wanted this to happen <strong>only on View1</strong>, on the other screens, if the app goes to the background and then returns, it will continue where it left off. 
  What can I do?</p>