Preferences bugfix, changed registration logic, testing of preferences done