Quit the application with notification