Changed the dropdown menu mechanism.