Changed name of addCommitment in DetailedDay to displayCommitment