Add extraClass to tab only if it's provided