when appName is missing and there's only one app installed, use that app as default appName
when appName is missing and there's only one app installed, use that app as default appName