Fixed synchronization in DatabaseManager (I think...)