added inactive menu items and deavtivate layer