add functions to connect buttons, spinboxes and table
functions to fill and update table cells (incomplete)