Finish chapter 24, finish implementing saving and restoring app state