Refactor SchedulerView.