saving state on dashboard css