Now persists card state to localStorage