Added 2 second delay for exiting the app. This allows the settings to get changed back