Fix in Preferences.cpp: moved init() to constructor