Any unwanted changes you make to your slideshow can be undone, provided you didn’t close the slideshow. tap on the Undo button in the bottom toolbar to show the Change History.
The line at the bottom lists the most recent change. Tap on a line higher up in the list to undo the most recent change(s). To redo the change(s), tap on a line further down the list.