Menu Block - How to make a new menu automatically available? How to automatically set a newly created menu as available so that it can immediately be used when configured for "the menu selected by the page"?

I've tried setting the 'menu_block_menu_order' variable through code, upon a new menu creation, but haven't figured it out.

What's the best way to automatically set a new menu , or all menus, as available?
I'm not very familiar with the Menu Block module, but this seems to be the proper way of setting the menu_block_menu_order variable when a new menu is created:

function mymodule_menu_insert($menu) {
  $menus = variable_get('menu_block_menu_order', array('main-menu' =&gt; '', 'user-menu' =&gt; ''));
  $menus[$menu['menu_name']] = '';
  variable_set('menu_block_menu_order', $menus);
}