Add setRetainInstance to retain the fragment across configuration changes