refactoring scanning activity -- adding tabbed fragments