Developer Challenge - Task 2 - Favorite functionality implemented