set icon and timeout