Menu one first click to work (Set Input Mode issue)

try to check after flip-flop which sides it goes. both side add print string method. I think it goes first on B and then A. Just try and we will resolve this issue.