Saving implemented, problem with editing a card if changing an image, and deleting a card when the card holds an image and it is the only card in the deck