Moved get_clicked_button_id to gui.rs