How to check the sync status of transactions and contacts