pub fn set_frame_type2(old_frame: FrameType, new_frame: FrameType)
Set the app’s default frame type without storing the old type