Now the progress bar only show up when it scans for devices #35