refactor refresh from widget core to mixin (periodicrefresh)
add a check to prevent code using init method in view mixins