Commands: Fixed AddApp error handling