Corrected the content URI to be up to date. Introduced a check whether the cursor is null. Added the read calendar permission declaration to the plugin's xml file