move more record creation logic from timer view to tmtask