Photo switch / transistor - any suggestions?

The comparator's output will go high/low based on the photocell.
The output of the comparator will be the Set for the RS latch.