Bind button listeners once when html has been injected into the page. This prevents multiple button listeners to be added to buttons causing the same action to happen multiple times