Detect invalid app modes