Try PrefSetPreference()
prefDefaultAppCreator UInt32 9 Creator ID of the application that is launched after a reset. If 0, the system default application is launched.
prefLauncherAppCreator UInt32 2 The creator ID of the application to be launched by the Applications silkscreen button.