Data is saved on crash

* Fixes #1076