Editing to pay field causes the payment code to update

Even when I don't edit the amount this get's updated, that shouldn't happen I think?