Fix the logic to share with friends