You can try this:
1. create a group and add a local variable..
2. set the local variable value to the global variable value that you want to preserve..
3. reset all global variables..
4. set back the global variable value to the local variable value..
Good Luck