You don't need a separate RS latch, you can use the comparator to perform the latch function by giving it some positive feedback. See attached. I added the capacitor to ensure that it powers up in the off-state. 100pF is probably enough.