activate license with prefs.xml