Trying to implement Scan button.