Dropdown menu is changed from element id to element class