Event handlers for addPoint and removePoint events