IMU problem, upper board is detached from the foam

Dear All,
I’ve bought a pixhawk 2.1, when I want to calibrate it, and when I’ve been advised to turn the cube on different axes, I heard a noise of something that may be open inside. I have opened the cube and I see that the upper board is detached from the foam. I tried to placed, that seems to be ok. But just after closing the box the same problem shows again.
Is there any way to fix or glue this board.
Thank you in advance

Hi, Pls Post a photo.