private synchronized void saveContext(@Nullable String entryName, String zipPostfix, @Nullable String comment) {
    if (!ENABLED) return;
    try (JBZipFile archive = getTasksArchive(zipPostfix)) {
      if (entryName == null) {
        int i = archive.getEntries().size();
        do {
          entryName = "context" + i++;
        } while (archive.getEntry("/" + entryName) != null);
      }
      JBZipEntry entry = archive.getOrCreateEntry("/" + entryName);
      if (comment != null) {
        entry.setComment(StringUtil.first(comment, 200, true));
      }
      Element element = new Element("context");
      saveContext(element);
      String s = new XMLOutputter().outputString(element);
      entry.setData(s.getBytes(StandardCharsets.UTF_8));
    }
    catch (IOException e) {
      LOG.error(e);
    }
  }
private synchronized void saveContext(@Nullable String entryName, String zipPostfix, @Nullable String comment)