Your state taxes cannot be paid out of your federal refund so you could not have agreed to that. You must pay your state taxes directly.