Auto refresh after viewmode change