Fix button click event bind