public void reload() {
   Database.asyncHabits(
       myContext,
       new Database.DBCallback<List<Habit>>() {
         @Override
         public void onFinish(List<Habit> argument) {
           unfilteredResultList = new ArrayList<Habit>(argument);
           notifyDataSetChanged();
           Database.getDevOpenHelper(myContext).close();
         }
       });
 }
 @Override
 public void remove(Habit object) {
   this.unfilteredResultList.remove(object);
   Database.asyncDeleteHabit(
       myContext,
       object.getId(),
       new Database.DBDeleteHabitCallback() {
         @Override
         public void onFinish(Habit argument, int deletedOccurrences) {
           Toast.makeText(
                   myContext,
                   "Deleted Habit "
                       + argument.getName()
                       + " and all "
                       + deletedOccurrences
                       + " occurrences",
                   Toast.LENGTH_SHORT)
               .show();
         }
       });
   notifyDataSetChanged();
 }