Adds input field and function to create tasks