Update error handling for empty todo adding, added char counter, added error element