When the simulator crashes if you haven't save the chip, the changes are lost. Please add an auto-save on crash or at least an auto-save.