Fixes led turn on off toggle code