add scan all button to main activity