#817 add a log
#817 add a test case to prove we can avoid canceling and rescheduling the same local notifications
#817 minimize the number of notifications to cancel and schedule to make the major task execution much faster
#817 fix two bugs
#817 add logs
Merge pull request #942 from google/issue817

#817