What does this switch actually do? IMO you don't need to listen to launchapp or launchwrapper event.
appcreated and/or appopened is enough.