public void reset() {
        for (Entry entry : entries.values()) {
            if (!unsaved && entry.currentValue != entry.defaultValue) {
                unsaved = true;
            }
            entry.currentValue = entry.defaultValue;
        }
    }