Fixing accidentally removed data function

Function addprofilewithpic moved from profile to profile.data