Added segue to edit view controller.
Removed dead code causing crashes.
Wired log editing