fixed tooltip recreating when selecting same text, change tooltip text if new class is selected