add listener for changing the pcapi url on settings page