i have for example a global number called box with the value 1 declared in layout1.
If i set the box variable with the value 2, i can set to 2 and use a webstorage as set local key to "2".
Then i change to the layout 2 and on start of layout 2 i set box to webstorage.localvalue("2").
The thing is when i change to layout1 i need to also set the variable box to webstorage.localvalue("2") to load it because when i change to layout 1 is declared as 1.
The question is... i need to load the variable in every layout all the time?
hope y can explain the question.