Arduino won't execute the programme for the toggle switch

ok. Then I understood that wrong...

is that the reason why the programme won't execute my if statement?