added recent search functionality to the main screen and displaying favorite state in search result if item is favorited