public boolean makeChange(BasePanel panel, BibtexDatabase secondary, NamedCompound undoEdit) {
try {
panel.database().removeString(inMem.getId());
undoEdit.addEdit(new UndoableRemoveString(panel, panel.database(), string));
} catch (Exception ex) {
Globals.logger("Error: could not add string '"+string.getName()+"': "+ex.getMessage());
}
// Update tmp database: