Try this inside of the script instead:
$('#Finish option[value=\"Custom\"]').attr('disabled','disabled');
$('#Finish').niceSelect('update');
Try this inside of the script instead:
$('#Finish option[value=\"Custom\"]').attr('disabled','disabled');
$('#Finish').niceSelect('update');