refine edit-task.php and pass uid to edit-task.php