Use Retaininstance instead of savedInstanceState.