diff --git a/projects/editor/src/app/unit.service.ts b/projects/editor/src/app/unit.service.ts
index e0b95f66be1fcb4f1b5466c3ab6f764b898687e8..6da42f9e4bd2a8f77e7b71d71fcf09e180386ff6 100644
--- a/projects/editor/src/app/unit.service.ts
+++ b/projects/editor/src/app/unit.service.ts
@@ -226,7 +226,7 @@ export class UnitService {
       .subscribe((result: string) => {
         if (result) {
           oldOptions[optionIndex] = result;
-          this.updateElementProperty(this.selectionService.getSelectedElements(), 'options', oldOptions);
+          this.updateElementProperty(this.selectionService.getSelectedElements(), property, oldOptions);
         }
       });
   }