Called when the fragment is first created. Sets the fragment to be retained across configuration changes.
If the fragment is being re-created from a previous saved state, this is the state.