Fixed callbacks for multiple GPIOs (issue 28)