Declared write-to-calendar permission in manifest.