Pedometer Start and stop function(time interval, threshold)