I use a small list to remind me of opportunities where I can improve my software. When I find an element that I can improve, I write down a reminder so I know where to look. Because I write these reminders I can focus on the task at hand. I take care of the other problems another time. When I've completed an item on the list I strike it through and start work on the next one.