Fixes to cloud store switching.

[FIXED]     Reload the store if cloud is enabled after switching the UUID.
[FIXED]     Remove stale UUIDs of higher versions when switching UUID to an older version.