Asscociate an icon to a page and display it in menu gadget.
Menu gadget code refactoring