private void onLoadTraktRatings(View ratingBar, boolean isUseCachedValues) {
   if (mAdapter.getCursor() != null
       && (mTraktTask == null || mTraktTask.getStatus() != AsyncTask.Status.RUNNING)) {
     mTraktTask =
         new TraktSummaryTask(getSherlockActivity(), ratingBar, isUseCachedValues)
             .episode(mShowTvdbId, mSeasonNumber, mEpisodeNumber);
     AndroidUtils.executeAsyncTask(mTraktTask);
   }
 }
 @Override
 public void onDestroy() {
   super.onDestroy();
   if (mArtTask != null) {
     mArtTask.cancel(true);
     mArtTask = null;
   }
   if (mTraktTask != null) {
     mTraktTask.cancel(true);
     mTraktTask = null;
   }
 }