allow the exiting of the app and shorten the toasts