added the code to detect proximity.
It starts the countdown

Signed-off-by: arioch666 <divij.durve@gmail.com>