The function does not work when the button is pressed.

If you remove the Back button, the btnTest3 button starts working, but the btnTest4 button still does not