Trimming input on creating a new todo item