Fixes #68. Undo changes persisted when app closes.