Added another method of getting window icon