When you teach the Pokémon a TR move you need to click the "Technical Records" button at the bottom of the Attacks tab and check off that the Pokémon has learnt those TRs. This is needed so if the moves gets deleted the Pokémon can relearn it from the move re learner. Also don't forget to set the height, weight, and encryption constant for the Pokémon.