code: public void clearModified() {
          for (String field : mStatus.keySet()) {
              switch (getStatus(field)) {
                  case DELETED:
                      mStatus.remove(field);
                      break;
                  case MODIFIED:
                      setStatus(field, FieldStatus.ORIGINAL);
                      break;
                  default:
                      continue;
              }
          }
      }
docs: Clears the modified state of fields. After this call and before any call to {@link
  ProfileFieldContainer#setFieldValue(ProfileField, Object)}, {@link
  ProfileFieldContainer#isModified()} and {@link ProfileFieldContainer#isModified(ProfileField)}
  return false.