Store schedule array directly

It's probably better not to use the built in stuff for storing data. The
biggest reason is that it's less straight forward when rapidly updating
an array.
Lint, appcache and other clean up