Doorbell not showing hardwired, sometimes doesn't ring on chime or app

I double checked the contacts and I noticed that if you put the Y contact on the end of the wire too close to the screw, it is kept off the metal contacts by the thickness of the plastic around the contact. So I redid the contacts and now it shows as hardwired!

All I need now is for it to be reliable!