Save widget style between rerender