Changed implementation of saving and deleting book pictures