change activity logic > tabs fragment, some refactoring