clears todo input after data submitted