Add key binding for direction, action when the snake increase, spawn fruit.