Fix double tap issue with autocomplete