changed renderFavorites function in homeView