make search occur when pressing Search button