Use preferences in PollingService