Fix customize flashcards causing crash (Fixes #124)