Cognitive Behavioral Therapy for Insomnia (CBT-I) has been proven as an effective intervention for the non-pharmacological treatment of insomnia. This study hypothesizes app programs of smart phone would enhance the compliance and performance of behavioral intervention of CBT-I. During a 3-year study period, 3 app modules, including electronic sleep diary along with message reminder system, social persuasion system and Tai-Chi practice system will be tested subsequently for their efficacy.