Fixed app detection