[Task][Schedule] Add variables for tasks and improve schedule UI