Fixed bug when the screen is rotated. changed onSaveInstanceState/onRetainCustomNonConfigurationInstance