saving early state of the autocomplete.