fixed bug with the twice click on the same menu item