fix crash screen rotation

I think the correct way to do this is to save the data in `onSaveInstance` and `restoreSaveInstance`