If you use a bow to target a button, its often that the arrow might hit the button but the button won't activate.
What can cause this issue
Maybe the ticking area is the issue?
Steps to reproduce
Go to Minecraft
Put a tnt about 10-30 blocks away
Hit it with a bow's arrow
Observe
Could not reproduce on Windows 10 1.2.8.0.
Are you trying to use a stone button to ignite the TNT? If so, that is your problem. Arrows will only activate wooden buttons.
Please let us know if this resolves your problem.