what i see as error is that you should write this line of code
mDbHelper=getDatabaseHelper(this);
before
Cursor ce= mDbHelper.fetchReminder(Integer.parseInt(dateForButton));
because you have already defined the method getDatabaseHelper