public final void setAddExistingDiffLastDir(final String addExistingDiffLastDir) {
    Config.getInstance()
        .getPreferencesBuilder()
        .getHistoryBuilder()
        .setAddExistingDiffDir(addExistingDiffLastDir);
  }
Sets and gets the main settings via java
java/ui/src/main/java/com/google/security/zynamics/bindiff/config/GeneralSettingsConfigItem.java