Removed case for switch button state for continuous polling of incoming data.