Changes to get the autocomplete working with another text view