Add directive to saved state

So that toggled widgets will resume their toggled state