Button usable only once

I don’t know how to fix the problem but when you’re putting code in a post use code tags: