Improvements to widget configuration