public static void releaseDatabase(final boolean writable) {
        if (writable) {
            databaseLock.writeLock().unlock();
        } else {
            databaseLock.readLock().unlock();
        }
        Log.d("unlock db");
    }
Solely to be used by {@link DBInspectionActivity}!
Release a lock acquired by using {@link #getDatabase}
main/src/main/java/cgeo/geocaching/storage/DataStore.java