Fix AB running app detection