make proof active when clicking on button