added free text search. Handled longpress in search activity