Adds and removes autocomplete adapter on search