modify add delete datapoint botton