work periods save to core data with project