Added a UINavigationController, a new UIViewController for a detailed view of each item in the table, set the UINavigationController's title, left and right barButtonItem, and removed the previous headerView. Also implemented item data editing logic.