activate the favorite button after click button