Fix menu undefined. (closes #2)

In add_visible_profile_menu_item, menu is
undefined and should be self.menu.