Using Handlers that make it easier to quit the app