Made clearoffline action apply to just the current book
Fixes to local storage handling