FAIMS-507 - fix the sync when changing the database and gps