@Override
 public void onPostExecute(DeckTask.TaskData result) {
   if (!result.getBoolean()) {
     closeCardBrowser(DeckPicker.RESULT_DB_ERROR);
   }
   mProgressDialog.dismiss();
 }
 @Override
 public void onPostExecute(DeckTask.TaskData result) {
   if (result.getBoolean()) {
     updateCardInList(
         mCol.getCard(Long.parseLong(mCards.get(mPositionInCardsList).get("id"))));
   } else {
     closeCardBrowser(DeckPicker.RESULT_DB_ERROR);
   }
   mProgressDialog.dismiss();
 }