Implemented UI state control on nav menu