added event deligation to favorite button