Fixed insert empty task in iOS-swift app

iOS-Swift app can insert empty string task.
I fixed it.
nit picky, but lets drop the use of the parens on the if.  Also did you consider isEmpty over == "".  Apple's examples all seem to use isEmpty that I've seen.