Part-time iOS developer, full-time geek
Distraction is not your problem, Shahid. Discipline is. And this is why I work on my discipline every single day, because if I don’t, distraction will feed me to the wolves, forever braying at my door.
When I don’t get work done it is because I didn’t exercise the discipline to do the work. There is no other reason. Almost everything else is an excuse to not do the work.