Strips whitespace of titles on save of text items