Perhaps try after a reboot. If no luck there, disable the main tab "use AI server" checkbox, then another reboot, then try again. If still no luck, disable the AI again, uninstall CPAI, delete the recommended directories, reboot, re-install CPAI, reboot, wait 15-30 minutes for the installation...