Why do both buttons disappear?

Hello, for some reason both buttons disappear, when i selected one button to disappear (i set visibility as hidden then connected it to onclicked event) i have another button with a DIFFERENT name but they both disappear when i click the button that is the only to disappear.