Added some kind of function which fires whenever menus are altered