Implemented dynamic menu.