cleaned up files; fixed the save feature in edit mode; added cancel button in edit mode