Update GlobalPreferences.java

spelling correction.