Fixed insert empty task in iOS-swift app