Refactored the task push using ko.utils.arrayPushAll