How the heck do you stay focused?

Okay, I have been looking for a job for about 3 months now. Just yesterday, literally within 10 minutes of one another, I found out that first, I got a job offer, and second, that my dad has a life-threatening brain tumor. After that, I completely lost the will to study for the CPA exam. How do you still remain focused to study? I mean, stuff like this could've at least spread themselves out on different days.