fixed new device function, though it still crashes XBMC when browsing to add source.