SR latch is used for keypad button like in our old mobile phones, when we press the button, then that particular button sorted with ground else all button are at there max voltage, then system sends the information that a button is pressed and works accordingly.