Detect if <appication> is used more that once