Changed button click event name to "on_click".