Add savedInstanceState to createApp
Add savedInstanceState