Adding favorite functionality.