mBot extension not working

I have to create an app that allows you to move the mbot arround thanks to the extension. However, it does'nt work. My phone is under android 14 and the extension is V2.0.4. then, the robot is a mBot 1. I'll drop all my code under.
blocks2
blocks3
blocks4




blocks1