Adding search for selected text.