@Provides
	public DBOpenHelper provideDbOpenHelper() {
		if (dbOpenHelper != null) {
			return dbOpenHelper;
		}

		ApplicationInfo ai;
		String dbname;
		int version;
		try {
			ai = context.getPackageManager().getApplicationInfo(context.getPackageName(), PackageManager.GET_META_DATA);
			dbname = ai.metaData.getString("DATABASE_NAME");
			version = ai.metaData.getInt("DATABASE_VERSION");
		} catch (Throwable e) {
			dbname = "database.sqlite";
			version = 1;
		}
		dbOpenHelper = new DBOpenHelper(context, dbname, null, version);
		return dbOpenHelper;
	}