Added keypad setup funtion