reactivating the onCompleteSync method