Start and stop capture sessions in background
Improve performance of BarcodeScanner

Initialize the scanner in viewDidLoad, and set/clear the delegate in the
appearance methods.