Implements saving changes made by the observed context