@iamlamprey Thank you for your help!
I don't know why. I redid some other elements of my code and suddenly it worked.
So yes for now its working properly in Hise itself.