Smartphone App Can Detect When You're Bored

And recommends a solution