Add click functionality to boards and pins and print the id in the console.debug