Moved delay refreshing into imageloader to get rid of a thread

This may violate with the single responseability principle