Record initial state of gadgets