Implementation of highlighting selected tabs. close #4