fix race condition when loading cached flyoutOnly tutorials (#7600)
fix race condition when loading cached flyoutOnly tutorials (#7600)

* defer refreshing blockly until dom update complete

* lint
Microsoft/pxt,Microsoft/pxt,Microsoft/pxt,Microsoft/pxt,Microsoft/pxt