Added setViewTable() function to make the table not editable anymore, add the edit button back, remove the save and cancel buttons
added it to the save and cancel buttons
note: the save and cancel buttons do not work, they both keep all changes and just change back to viewing mode