for new installations, check if the input method is
enabled and whether it has Accessibility permission
before adding those items to the task list as they
may be in place from a previous installation
added booleans to indicate input method exists and
matches the current version
made installationState optional
made accessibilityPermissionGranted optional
added comments