calculate wpm and put result in progressbar