Fix a regression.

The regression is: if the newly scanned book is in local cache data,
the changed data won't sync with server automatically.