Implemented light toggling