added tab-switch functionality to KnowledgeTree-View