Added keypad code and fixed 5-10 page transfer bug