Moved search to fragment