Setting the OK value before saving.