A global variable is global, so it is persistent.
The actions you perform on the variable are inside event sheets.
If the "draining" action is not in the event sheet of the new layout it will not be performed.
So I gues it would just be a case of adding the event and action to the new layout.