the text field for creating tasks can now clear itself after every added task