[Calendar] Fix the exception of adding new calendar item.

* JIRA: PTSDK-1368
Merge branch 'next' of github.com:01org/web-simulator into localnext
Merge pull request #148 from wcwang/next

[Calendar] Fix the exception of adding new calendar item