Revert case db locking code in AddImageTask.java