Text overlayed on slice

I tried the method in the link and it worked, but the text permanently disappears as soon as you move the slider. What is the easiest way to make sure that the text gets printed to upper right corner again every time the slice slider position is moved?