How to put back the plastic connector for the power/volume cable?

So I was replacing the battery for my MotoX 2nd gen and while removing the power button cable I accidentally removed the white plastic little switch connector that fixes it to the phone.

Now I improvised some cloth pieces to make the necessary pressure to make it (kind of) work.

Is there any tip or tutorial I could follow to put it back?

You can see the white little plastic connector in the end of the pry tool in this picture: https://d3nevzfk7ii3be.cloudfront.net/ig...

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

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0