Struggling with PlayerState and Multiplayer

The problem seems to come from the fact I am using a widget to increase the number in the player state. When I simply bind keyboard keys to add and print the number, all works as expected. But when clicking on the widget UI button, it all breaks and goes weird.

Any idea how I am supposed to edit variables in the PlayerState through widgets?