public void setState(int state) {
		this.state=state;
		// Change the status label
		if (state==1) theApp.setStatusLabel("Start Tone Hunt");
		else if (state==2) theApp.setStatusLabel("Sync Hunt");
		else if (state==3) theApp.setStatusLabel("Sync Found");
		else if (state==4) theApp.setStatusLabel("Decoding");
		else if (state==5) theApp.setStatusLabel("Complete");
	}