Is there a build-in reaction of the textbox to the back-key

On my e-reader, I do a call of TextBox.RequestFocus, TaifunTools1.ShowKeyboard and ExtraComponents1.AddEnterPressListener. On the e-reader a big textbox will appear, the keyboard is opened and the textbox gets smaller, I can enter text. When I press the BACK-key, with or without first entering text, the keyboard is cleared, textbox will get bigger and will keep the focus. If I press a second time on the BACK-key screen.Backpressed will be triggered and execute the code I programmed. If I exit from the textbox with the ENTER-key, ExtraComponents1.InputEnterPressed will execute and work as programmed. Is there a build-in reaction of the textbox to the back-key can it be trapped in some way?

????

Which distribution are you using, doesn't sound like MIT AppInventor AI2?
Please ask on the forum for the distribution you are using (e.g. Kodular/Thunkable X/etc.)

Correction this is another extension by vishwas