I have been there.

Sometimes it is not so easy to do what we know we should be doing. I have had to learn to put myself first, which isn't so easy to do sometimes. And, from the sounds of it, you know that is what you need to do, too. Cutting back on non-essentials is what helped me to "find" more time to take care of myself. I had to decide that getting my exercise in was more important than whatever t.v. show I used to "have" to watch. Sounds like you are on the right track, recognizing and using the motivation to get yourself re-focused. Continue to do that, and find even more motivations, and I'm sure you'll re-gain your focus. We all have to "re-motivate" sometimes. Just don't give up!