If you're doing work at a coffee shop because of the free WiFi and great coffee, you should know that there's another benefit to working at your local Starbucks, according to a study published in the Journal of Consumer Research. Research found that working in a place with a "moderate level of ambient noise" causes the sort of distraction that boosts creativity. The study says:
"[I]nstead of burying oneself in a quiet room trying to figure out a solution, walking out of one's comfort zone and getting into a relatively noisy environment may trigger the brain to think abstractly and thus generate creative ideas."
So if you're stuck on a task, maybe all you need to do is to step into a lively coffee shop to get the your imaginative juices going again.