creating database in PreloadedActivity.java