Added button and function to data2 and data