Add TWTimer class and use it in appDelegate.