[Yingrui] extract fillText method for displaying total score and seconds