If you put each { on a new line, and use Tools + Auto Format, you'll see that you have inserted the new if statements and block in the wrong place. They should be between the lines:
if (irrecv.decode(&results))
{
and
irrecv.resume(); // Receive the next value
}