add delay in AvlVisualizer::addObject