Implemented usage of repaint sync framework in edit tool.