Added a listener to the Favorites Button.