made changes in ui code according to scheduler code change