Toggle Latch

Changes state when the input turns on. Can also be clicked to change state manually.