avoid switching credit card twice
header messages updated when editing