made autocomplete re-trigger if the dropdown is changed