Merge "Changed setSyncTransaction to syncNextTransaction with callback logic." into tm-dev