added two custom events, one for changing the current dropdown item, one for setting all dropdown items