Added refresh and favorites functionality