Added the Add tab functions to add a item to the todo list