add a progress bar to show the progress of scan activity
Add an extend class TextProgressBar from ProgressBar
fixed the warning in TextProgressbar.java