OPEN - task 312: Fix issues with database being locked 
https://github.com/DigitalCampus/oppia-mobile-android/issues/issue/312