So this is what I got - print the variable at onClick, and it changes when clicking on different instances.
But print that same variable after connecting the BPI, and it never changes.