Moved the inactivity timeout property into the shared state to preserve it after a page reload.