activity finish() after 3 secs and triggered by accelerometer