Implement NSUserDefaults

That eliminates another state variable. More state usually means harder to debug.