pub fn switch_control<V, W>(key: &'static str, value: V, write: W) -> Controlwhere V: Fn(&App) -> bool + 'static, W: Fn(bool, &mut App) + 'static,
A switch control.