Fix bug with preselected html select, add support for varying channel id in device