You're allowed to do that because by definition of an absolute value inequality: If , where , then .

So when you have , that means , but a positive or negative constant is still a constant. It's advisable to change the symbol you use for the arbitrary constant after this though...