Added a button to edit the data.