Jira Dashboard load preferences

I have developed a dashboard plugin and save the preferences with “this.API.savePreferences(preferences);”.
Now I would like to reload the preferences while editing.
Is this possible?

I’ve found the solution