Research shows it takes 23 minutes to refocus after an interruption. Here's how to minimize switching.