Adds a simple hook for change in button when clicked