detail view wired up
troubles saving to nsuserdefaults because array of work periods is still custom objects