public void cancelCurrentProgress() { if (myCurrentProgress != null && myCurrentProgress.isRunning()) { myCurrentProgress.cancel(); } }