DropDown: fix bugs with initializing selected item index