Moved elements outside of Async task.