How can I fix this bug?

It occurs when I press any button in my downloaded application

You would need to provide the aia project used to generate your app for us to take a look.