input box clears after adding new task