Would be nice to use more meaningful names for "button_1", "button_2" since in the script logic, they are fixed for particular functionalities.