fix for adding flashcards with trailing spaces. add items to custom collections