### Eclipse Workspace Patch 1.0
#P org.sophie2.main.app.commons
Index: src/main/java/org/sophie2/main/app/commons/util/TemplateUtil.java
===================================================================
--- src/main/java/org/sophie2/main/app/commons/util/TemplateUtil.java	(revision 8797)
+++ src/main/java/org/sophie2/main/app/commons/util/TemplateUtil.java	(working copy)
@@ -88,15 +88,16 @@
 
 		final ResourceRefList templates = book.get(templatesKey);
 		final ResourceRefR4 relativeRef = 
-			ResourceRefR4.getRelativeRef(bookAccess.getRef(), ref);
+			ResourceRefR4.getRelativeRef(bookAccess.getRef(), ref);		
 		final String kind = templatedElement.model().get().getKind();
+		final ResourceRefList newTemplates = 
+			templates.contains(templateRef) ? templates : templates.add(templateRef);
 
-
 		new AutoAction(description, isSign) {
 			@Override
 			public void performAuto() {
 				getChanger().copyResource(relativeRef, templateRef);
-				getChanger().setRaw(templatesKey, templates.add(templateRef));
+				getChanger().setRaw(templatesKey, newTemplates);
 
 				ResourceChanger subCh = getChanger().getSub(templateRef);
 				subCh.setRaw(ResourceR4.KEY_TITLE, templateTitle);

