Removed unused variables; returned flag for managed key by PropertyPage
trying to introduce menu class