DBHelper class partially working