modify scan view controller
Merge branch 'working-1'