changed icon download code as it could cause freezes