Added remove flashcard functionality