do u know y Habeelz meat got accepted n not kabeelz? cuz of their intentions. if u knew calling ALLAH SWT names is a necessary part n for dat one have to b Paak n saaf. which means also must avoid swearing.
so i m pretty sure it was haram for u to take dat meat (since amaloon ka daromadar niatoon per hai, i think i will b "deedz dependz on intention), it would have been better if u put same amount on some non-zabiha meat n from rest of the amount bought an ice-cream.