Fixed SQLite syntax errors and added the check whether a data table already exists.
Back end: DatabaseHelper fix. Still can't debug the SQLite database.