On reassembly take note of the flap lock on that connection. Sadly I failed to operate it correctly and now have a defunct home button.
Yes, the flap seemed to want to be attached to the glass, not go down the slot. All went together well, except that my home button doesn’t work. I suspect the connections wasn’t right, although I did my best to (gently but firmly) push it in. Too late to do anything about it now.