Fix bug 973606 - Fix alarms testcase, thrown exception has changed. r=mmecca

--HG--
extra : rebase_source : 6cfe6b1e81296adc832351b910f3e6fb985aa501
Fix bug 350676 - open new task dialog when click to sort task. r=decathlon