Change the logic of the result label text construction

Since the result label now has attributed text, we have changed the
logic of the text construction in order for it to be attributed.