Determine which Harmony Activity is active

I used petro example and created switches to handle my harmony remote