instead of css class, now the id of the span is used to determine the ms toast