Fixing PreferenceFragment for XE16+
Added glass device check to avoid loading of workaround on regular android devices.