I have a table with two columns: Date, Interval. How can I create a button that, when clicked, will:
- insert a row at the top of the table
- set the date that the button was clicked
- calculate the number of days since the button was last clicked?