Pn.bind() for Menu.Button is not working

Hi team,
I have designed a template as attached.

I am unable to execute “my_func()” function while clicking the ''first" option from the “MenuButton”. The output on the Template is completely wrong. Please advise.

test.ipynb (63.4 KB)