Using the NameValueDatabaseHelper instead an naive/anonymous one in for exporting data in the database. Previous this caused problem when someone archive the database (delete) file, and then export action comes next, trying to read a empty database without no tables.