Modify arrow key's action