I'm sorry to hear that. You say that you don't want to die; suicide is such a devastating and permenent solution. You have options, and I always think with suicide you have to be 100% certain that you want it, and that you have no options left, because otherwise there's a chance of things turning around.
I hope the DBT and CAT stuff helps you stay safe. Could you plan out things to keep you busy? I also saw this (
kitestring) which might be useful. It's not an app (as there's no download) but works like one. It keeps tabs on you, so you have to check in every so many minutes or it sends a text-alert to your emergency contact. I wonder if you could use that to keep yourself safe (reminding yourself if something happened your husband would get the alert).