Design and Testing of a Smartphone Application for Real-Time Self-Tracking Diabetes Self-Management Behaviors