Fixed storing of App ID