clear the adapter instead of the imageResult array directly to make scrolling working on subsequent searches.