Instead of choosing all tabs with initial state, only a current tab item was chosen.