Fix db location, show lock alert messages