Refactored socialSharing