Parshas Pikudei

It says in the posuk at the end of Pekudei, that ‘Kavod Hasem was in the Mishkan’ two times. Why does it repeat it twice? And why, in between, does it mention that Moshe Rabbeinu could not enter the Mishkan when the cloud hovered? The Chassam Sofer says the fact that even Moshe Rabbeinu could not go in, indicated the level of greatness ascribed to the Mishkan, and so it is repeated a second time.