implementing the buttons for adding hours, minutes to the current
duration and the button for finishing the task