Added code for step detection into PrepPresentationActivity.