Fix "Doit" in Legacy Mode
Fix "Doit" in Legacy Mode

Also fix Legacy Connection when the first App opened does not have any assets.

Change-Id: I47df823f8a67b95fe3338277e31cf47564f58968

mit-cml/appinventor-sources,mit-cml/appinventor-sources,josmas/app-inventor,josmas/app-inventor,mit-cml/appinventor-sources,josmas/app-inventor,jisqyv/appinventor-sources,josmas/app-inventor,jisqyv/appinventor-sources,jisqyv/appinventor-sources,mit-cml/appinventor-sources,jisqyv/appinventor-sources,jisqyv/appinventor-sources,mit-cml/appinventor-sources,josmas/app-inventor,jisqyv/appinventor-sources,josmas/app-inventor,mit-cml/appinventor-sources