Bugfix: a few small bugs in the tableview

Not saving the currently edited cell when the app was quit, crashes due to notifications coming in on a background thread, problems with NSFetchController delegation