Make it possible to call setAPILink() multiple times