Added favorites functionality.