code: public synchronized void onGlobalCounterChanged(int value) {
          globalCounter.change(value);
          if (!isAppVisible.get()) {
              globalTempCounter.change(value);
          }
      }
docs: Notify from Modules about global counters changed
  
  @param value current value of global counter