Changes to the persistent menu preference module to generically handle
multiple menu items.