func to toggle LEDs
renaming
new button handling, fixes #8