Added automatic refresh of widgets