applied enable-disable button logics to navMenu and optimization to menu MVC