Anki desktop shortcuts for review are not working

The shortcut keys of the answering buttons like again (1), hard (2), good (3), and easy (4) don’t work at all in my Anki desktop. Does anyone have any solution to solve this?
It wasn’t fixed by re-downloading the app or rebooting the pc.
My desktop anki app - Version ⁨2.1.65
MacBook Pro (M1 pro 14-inch, 2021)
MacOS Ventura 13.5 (22G74)

What language is your keyboard set to?

Both US and Japanese keyboards I tried.