Set ID of monitor when adding it