Set auto-refresh for background widget