Shows how to persist the state of a fragment during configuration changes. State includes the UI as well as the instance state of the fragment.