Invalidate cache when savig the widget.