When adding a widget no data was inserted.
Now only displays available widgets in addwiwdget