When you come to a task such as studying a new difficult topic you feel discomfort. "Maybe I won't understand it", "maybe I want supposed to be a programmer at all" etc. So you replace the activity that causes discomfort with one that doesn't. Maybe that's flicking through videos on YouTube. Maybe that's tidying your room. Either one feels more comfortable than studying. Even though cleaning your room is 'work' you know you can do it and you get a feeling of accomplishment after you do it.
So, to address procrastination you need emotional tools, not organizational ones. CBT. Positive self talk. Reassurances that the discomfort of a task will pass. Breaking down a task into pieces that are small enough to not cause discomfort.
If you suspect you have ADHD I recommend talking to a professional. Medication is one of the most effective treatments around and you need a diagnosis to start down that path.