Add switch with two cases (textBlock and default)