Init allItemsDone when restoring the state.
Fix spelling.