Changed CMStepCounter to CMPedometer, and got the handler to trigger