When a new identity is about to be installed and the user presses back button, the main activity shows up immediately.