I have a block of code which is called on a button press. The aim is to remove the task the button represents, and update all the other buttons to reflect the time changes.