Add loading animation

When loading task, page display loading animation