update widget on refresh button clicked fix