[SD-851] Refactored preferences service to reload when local storage is empty.