if (b > 0) {
Thread threadCounter = ServiceMethods.setCountLabelWrm();
threadCounter.start();
Thread threadBoss = new Thread() {
public void run() {
basicLogic.transition();
threadCounter.interrupt();
}
};
threadBoss.start();
}