animatedText fix

The declaration for animate text method was present, but it wasn't used
anywhere.