All through the reaction, the supposed nucleophile is a positively charged amino group. I don't disagree with BR's correct answer regarding the quality of leaving group on the methyl species, but I'm curious about how valid the pseudo-mechanism is, given that they're having NH3+ react as a nucleophile with a methyl tosylate. I think it's problematic that they don't show deprotonation taking place before methylation.