detail and delete not working

Changes:
added delete function, but it isn't working.  Submit button now goes to
the table.  Tried to get Detail view working but it crashes

Notes:
1) I found the problem why it's crashing but I don't fully understand
it.  I marked it with my %%% just look for those in table view
controller
2) same with the delete function.  It seems like detail doesn't have
access to the core data so we can't do anything