public PoseReceiverShaker(ShakingAnalyzer analyzer) {
		this.analyzer = analyzer;
		observer = null;
		final Object observee = this;
		Timer t = new Timer();
		TimerTask tt = new TimerTask(){
			public void run() {
				if(!initialized)
					return;
				long currTime = System.currentTimeMillis();
				
				if (currTime - timeStamp > TIME_OUT) {
					if (!statePressed) {
						statePressed = true;
						observer.update(observee, new Boolean(true));
					}
				} else {
					if (statePressed) {
						statePressed = false;
						observer.update(observee, new Boolean(false));
					}
				}
			}
		};
		t.scheduleAtFixedRate(tt, 0, TIME_OUT/10);	
	}