Added listeners for the two buttons in PinSelectedGUI