fixed crashed during onSaveInstanceState and it's restoring