save notifications to core data