it happens when i press a button in my application only from downloaded not from simulation
We just do not know. Show your relevant blocks for button press and/or upload your aia project
Are you using a list?
(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.