Refactor centered text.