LED doesnt turn ON (or OFF)

yerzhik:
I was wondering why that strange things happened.

Probably because of the numerous faults in your implementation of the hard approach, which others have already pointed out.