private void restoreRegistryValues() {
    Set<String> storedKeys = registryValues.keySet();
    for (String each : storedKeys) {
      Registry.get(each).setValue(registryValues.get(each));
    }
  }
private void restoreRegistryValues()