Save data to disk whenever the data is changed in cache. Add tests for cache.
Deprecate save all option in the menu bar since it is no longer necessary.