Checking the IR exsiting on device
Fix cannot find IrPanel widget issue
Remove unused code
Add Ir check suppot