Prefs: don't determine persist? from .connected?
Prefs: don't determine persist? from .connected?

.connected? returns false until a connection is actually attempted. This
meant if the cache was empty, preferences would be set to their default
values and that would be persisted to cache.

This reverts commit 9ca8ef97fb9139a5aecd1f406b21a7fadfdca658.

Fixes #3785

Antdesk/karpal-spree,Antdesk/karpal-spree,Antdesk/karpal-spree