public synchronized void addPartToReplace(WorkSheet sheet, Part part) {
        if (sheet.partsToReplace == null) {
            sheet.partsToReplace = new ArrayList<>();
        }
        sheet.partsToReplace.add(part);
    }