Added code feature which allows user to clean up the widget settings