Fixed insert empty task in iOS-swift app

iOS-Swift app can insert empty string task.
I fixed it.