fn build_profile_submenu( app: &AppHandle, profiles: &[String], active: &str, ) -> Result<Submenu<Wry>>