restore widget data when widget setting is canceled