A new app helps people reduce their dependency on gadgets by keeping track of how often they look at their phones.