add useLastRefresh property in cwidget in order to use lastRefresh instead of reloading the time window