Tested and confirmed working correctly. 

This is the reason that you cannot hold references to the to the activity or the fragment manager as they get stale when you have `setRetainInstance(true)`. This because the system has to switch them out from under you but gives no warning. When you ask for `getActivity` and `getFragmentManager` for the fragment, instead of holding onto them, you get the fresh/current activity or fragment manager(there are rare exceptions that don't occur here).