What a retarded bug..

boolean isHigherPriorityEventRunning = false;
if (isHigherPriorityEventRunning) {
   ...
}