Moved the inactivity timeout property into the shared state to preserve ...

...it after a page reload.

For https://github.com/samie/Idle/issues/1