fix trace2csv Button action ahandling