Add callback to "Device Tester" sample.