Select search text on click