Reorganize keypress