pushing to todoList when pressing button