pub type MenuHandler = Box<dyn Fn(usize)>;
Runs with the number of the menu item the user chose.
pub struct MenuHandler(/* private fields */);