Added saveSocialTag function