Fix issue #264, widgets aren't loaded

This error appeared after a huge refactor of classes
(src/widgets/ to app/ui/ directory).