Adding auto refresh to widgets