Added state save/restore to keep device orientation changes from
zapping results and progress.