UberfirePreferences was removed form uberfire, https://github.com/uberfire/uberfire/commit/7bec6ba68d1957cedd4bb57d8e2460e21e1b2ee8