Update: Logging step 2
Update: Scanning can be cancelled by clicking on the close button of the scan dialog