You might use this extension by @Kevinkun:
I recommend this as it is more stabilized towards App Inventor (here)