autocomplete and toggle button changes