Added setLink function to CustomMenuItem prototype

setLink() allows dynamically updating the link target.