Extract app code from InstrumentFragment to AppUtil helper class)