Converted GestureActivity to GestureService