What you could do is have a variable called restart then whenever you call the "Restart layout" don't do that set the variable to 1 and then with all the objects that would have moved on your layout say If VarRestart = 1 go to 0,0 or wherever they are at the start of the layout