How to fix doorbell button that came loose?

The pro doorbell button came loose and hangs by the ribbon cable. i tried pushing it and the spring back in but it doesnt lock into place.

Block Image

Block Image

Block Image

Block Image

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2944067:02crwdne2944067:0:

could you post a photo of the button hanging? try to focus on the sides of the button

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

Added some pics. Appears there is nothing to lock it in place. Curious how it ever worked in the first place.

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0