Roll back stack changes on transition away from settings page