do not allow empty task names when editing tasks