BUGFIX: check before shifting classes array in AvailableWidgets
BUGFIX: solved bug adding a new widget to the top of the widget area, then moving it to the bottom when saving