Added CustomButton class to test the GPIO.