added a timer to the AnimatedShapesView to redraw the view once per
second.