void () { final ReaderThread readerThread = myReaderThread; if (readerThread == null) { return; } if (isActive() && !readerThread.myRunning) { resetLogFilter(); myFilter.setSelectedItem(myModel.getCustomFilter()); readerThread.startRunning(); ApplicationManager.getApplication().executeOnPooledThread(readerThread); } else if (!isActive() && readerThread.myRunning) { readerThread.stopRunning(); } }