Merge changes I72de7f22,I70992067 into ub-calculator-euler

* changes:
  Handle text animation in different display situations.
  Integrate database with history.