Notifications steal seven seconds of your focus according to a new study, but there are ways to avoid this.