Added settings activity, added infinity loop setting. Implemented infinity loop setting within TestActivity.