[qmlcalc] Fix previous text for display