Added sanity checks when setting team ID to invalid (>9999) value
enable disable panel used to enable/disable DS once for each button,
fixed