Grese pencil shapes not working, how to fix?

So I am having this problem and my gpencil object won’t work with any of the shapes available.
I have found out that if I reset my keymap to factory settings then it starts working. But I would like the solution without doing so because I have more than 20 custom shortcuts set.