added onreturnkeypressed for search