Change If Statement

Combined two if statements to a single if else