Made it possible to set active item in the menu.