Searches for typed value into hints list adn replaces it on click