Fixed animation issue with Async block

- The old implementation would not trigger animation because of Async task.