Fix crash with "Archive Now" in preferences