detonate button logic enhanced