/** Deletes notifications and tests data from database */ protected void cleanDatabase() { dbHelper.cleanTables(); prefs.setLastCourseSelected(0); prefs.setRollcallCourseSelected(-1); Global.setSelectedRollcallCourseCode(-1); Toast.makeText(this, R.string.cleanDatabaseMsg, Toast.LENGTH_LONG).show(); Log.i(Global.APP_TAG, getString(R.string.cleanDatabaseMsg)); }