TaskSwitchPluginBase.
load
Load function
This function is called by the plugin manager to load the plugin.