Change task input value according to device type