Fix graph edit button