added message indicating that the application is closed