adapted layout so that it works for search results too by adding id for icon. Should be tweaked.