You will never escape this, and
for the sake of your research, don't.
We need to look at the core of the problem: your brain function. Cindi May, Professor of Psychology at the College of Charleston, wrote an article about this in Scientific American:
If your task requires strong focus and careful concentration - like balancing spreadsheets or reading a textbook - you are better off scheduling that task for your peak time of day. However, if you need to open your mind to alternative approaches and consider diverse options, it may be wise to do so when your filter is not so functional.
In short, the best time for your brain to think about the research is your free time!
Remember Archimedes? He solved his problem when he was relaxing during the bath. It's the same as us today. You got the idea when you eat, when you take a shower, when you about to sleep, when you hanging out with your boy/girlfriend. Sure, the Eureka moment only comes when you have arduously been working, but it's not likely to come when you are working.
If you have an Eureka when you are taking a bath, try to calm down a little bit :D
Unfortunately, a research requires both two things at different time: strong focus and careful concentration, and alternative approaches and consider diverse options. So it means you will likely to be a workaholic.
But the Eureka only comes when it's truly your free time, when your, erm, brain is truly relaxed. It is very frustrating for us to halt the power flood of idea that coming to our brains. But it is also hard for us to stop the current activity to rush into the lab. I will call this the Researcher's dilemma.
So, how to solve the dilemma?
I honestly don't have any efficient solution. It just up to you and up to the situation to solve this. But I think taking note is the most efficient one. You see, once you finally have a new approach, you can wait for your next morning to have your peak time of day to have strong focus and careful concentration.
Source: The Inspiration Paradox: Your Best Creative Time Is Not When You Think . Also, to find your peak time of the day, you can take the Morningness-Eveningness Questionnaire. Note that the research about this is pretty old (1976).