start the plan edit funciton