Replace GOTO statement within Keypad library

I replaced the GOTO statement with if clauses which cause the for loops to be exited if a key action match (PRESSED/HOLD) is found.