In an age of ever-increasing distractions, quickly creating customer habits is an important characteristic of successful products, said Nir Eyal, the author of "Hooked: How to Build Habit-Forming Products.”