added disable function for menu items