Updated tasks.h

Added StatusData fix