New smartphone app gauges mental health