How to enable or disable menu Items?