Adding menuItemChanged event to Menu Bar