The integral should have the absolute value, but for this question, your result don't need it. In your process, you can remove the absolute value because constant C can be positive, negative or 0. You can read the 8th page of the slide to see details.