Added edit and delete of flashcards