If the board is not connected or the app is not running, the scratch extensions do not work. Show the board status somewhere in scratch (see blueetoot status in other extension)