Almost every extension tube with electronics has them. What are they for?
They are so you can detach the lens. The lens latches in place on it and you push the button to allow it to be removed. This is the same function as the lens release on your camera.
When you go to put the tube on your camera you should attach the lens to the tube and then the assembly to the camera. When you are removing it, you reverse the process. Push the lens release on the camera, remove the entire assembly. Then push the button on the extension tube so that you can remove the lens.
Don't fit your lenses to the extension tubes and then to the camera, unless the manual for the tubes says so. I use a Sony SLT-a77 with extension tubes and the instructions are to fit the tubes to the body first or the TTL and AE may not work.
I definitely wouldn't use tubes that have exposed metal inside the tube, like those pictured above. The insides of the tubes should be matte black with no light colours or shiny bits. The connections should be housed within the barrel and inaccessible without smashing the tube.