Added some basic edit logic and save to worksheet.