changed change icon method in task bar

changes change icon method to make it look better