Fix: Sync deleted and added variables in designer tool

* New and deleted variables are automatically updated in designer tool
* Designer tools sync variable position when variable has new index without losing local changes