Fixed bug that AppCode was in ScheduledTask item