Added functionality for favorites list