Add guard to only call custom set function when thing-actions-alist is defined