pub(crate) fn handle_main_key( app: &mut App, key: KeyEvent, ) -> (Result<()>, bool, bool, Option<AdminAction>)