tab listeners refactoring