@Override
      public void writeConfirmedConsents(@NotNull String data) throws IOException {
        Path confirmedConsentsFile = getConfirmedConsentsFile();
        Files.createDirectories(confirmedConsentsFile.getParent());
        Files.writeString(confirmedConsentsFile, data);
        if (LoadingState.COMPONENTS_REGISTERED.isOccurred()) {
          DataSharingSettingsChangeListener syncPublisher =
            ApplicationManager.getApplication().getMessageBus().syncPublisher(DataSharingSettingsChangeListener.Companion.getTOPIC());
          syncPublisher.consentWritten();
        }
      }
@Override
      public void writeConfirmedConsents(@NotNull String data)