How can I save a completed sequence?

Well, it looks ok. But why do this conversion between enums and strings? Does that work? ( I haven’t tried ).