Changes getIntent to savedInstanceState when restoring navigation stack variable.