update dirents or repos data automatically

fix add background auto-update per 5 mins (no UI refresh) #179
Even if we have a settings for that, these code still should not be here. `SettingsManager` handles read/write of settings, while other modules like `DataManager` use the interface provided by `SettingsManager`.