saving state on dashboard css refactor