Change condition for icons