First version using ActivityRecognition