Fixed a bug: flip unlocked cards when retiring a card