Adds logic for ToggleLauncher command.