added flag to show or not show data on widget load