Removed parts related to old way of changing URL of a widget
Cleaning the code
Cleaning the code