Add synchornized methods in the LocationDB and PatientDB classes.
Fixed synching with the server.