Backup for last state of task on Arduino

A primitive but functioning approach.

I'm trying to flesh out this idea but have nothing worth posting right now.