Did you include exercise in your day? I mean, I'm assuming you have a well rounded routine, which may not be so.
If you lack exercise, sunlight, or proper nutrition, lack of focus is the last of your problems to solve and more of an obvious consequence.
I find it weird how all those things are usually overlooked and everyone jumps to ADHD or something like that.