Modifications to changeProfileImage()