Added callback. cast button works after flashing router.