Add functionality for adding todo list items - freezes