switch from obsolete Digest::SHA1 to Digest::SHA, fix calendar prefs