move to appcore_get_rotation_state in the last of app_create