Consider using the same favorites.addShareListener() function with:

    favorites.addShareListener({ button: '#share-favorites-btn' });