Question About Enviroments

Product: PowerShell Universal
Version: 2.8.1

I think a persistent runspace for API might be beneficial for me.
However, when I switch to the integrated environment with persistent, all the functions that I created in the dashboard are missing from my dashboard.
The log no longer shows any entries for loading the functions.

It is also strange that the first time the function UDGrid in the dashboard is called up, it still works. If I change the page I get an error that UDGrid is an unknown function and if I go back I get the same error there too. ?

How do I get a persistent runspace for API and a rotating one for dashboards?
What do I have to do to make the functions available in the persistent runspace?