diff --git a/projects/editor/src/app/unit.service.ts b/projects/editor/src/app/unit.service.ts
index 070e43c36acdbdaedaa266bd882706b3dafe09b4..80f8fca50dfbb2819d802e488ac669d3446fb1e9 100644
--- a/projects/editor/src/app/unit.service.ts
+++ b/projects/editor/src/app/unit.service.ts
@@ -214,10 +214,8 @@ export class UnitService {
         IdService.getInstance().addId(<string>value);
       }
       element.setProperty(property, value);
-      this.elementPropertyUpdated.next();
-      this.veronaApiService.sendVoeDefinitionChangedNotification();
-      return true;
     }
+    this.elementPropertyUpdated.next();
     this.veronaApiService.sendVoeDefinitionChangedNotification();
     return true;
   }