Added favorite button element as fourth param of the callback