Corrected non working default values
Refactoring that allows changing data, config and redraw the widget