Don't clear cache if it's a pending deferred

We were blindly clearing hints cache object. We now prevent cache object from being cleared if it's a pending deferred.

I think this problem was introduced by new file system or watchers which fire the "change" event more often, which causes cache to clear. The PreferencesModel code must have changed something that exposed this problem.