ToolBarMenu represents menu of view. It should be renamed

Class ToolBarMenu represents menu of View. Thus it should be renamed to something like ViewMenu. 
Also lookup logic contains some errors and does not have any checks whether menu was found or not.