navbar edit coredata