fixed issue of not updating after field edit

also:
  - automatic selection of a new customer mail field when current one is deleted