Check if calender insert failed with CMs privacy guard

If CyanogenMod's privacy guard is enabled, ContentResolver.insert
returns null. Before the result is checked, we pass the result to the
logger and give rise to an unhandled null pointer exception.

Put the statements in the right order to fix this. The user now gets the
appropriate warning.
Merge pull request #27 from drizzd/fix-crash-cm-privay-guard

Check if calender insert failed with CMs privacy guard