autocomplete: clear active item after selection

After an item is chosen, we should clear the selected item in the list view. The implementation is a little weird. I noticed that code was pretty old that I was editing :). This fixes a bug where the same item will be selected multiple times when it shouldn't be.
The implementation is designed to be symmetrical to the getter. Can you explain your idea?