Add favorite functionality.