Clean up widget configuration