Fixed crash onSaveInstanceState