this seems to be a bug in App Inventor... as workaround did you try the solution by @Svetlana_GREGOIRE ?
Taifun