Added onItem handler to display progress durin sync