Rewrites the menu items.
Merge pull request #125 from cauchymop/menuitems

Rewrites the menu items.