Dropdown widget not working properly.