More fixes with saving values from editing text fields.