Reimplemented the "Re-sync user's flashcards" operation.