Adding popup to show stopping and restarting of scanner, making sure delegate only gets fired once on scan