FLUID-5205, FLUID-5216: Fix invokation of prefsEditor to use constructed grade name instead of fluid.invokeGlobalfunction