Add persistance for widgets.