Added fix for Cancle button now working. As proposed by @peterfox1 in https://github.com/wildabeast/BarcodeScanner/issues/162