Icon visible in perspective

Hello. I have a doubt in icon visibility. Created a memory tag and assigned a value as 2. Added a icon in view. If i change the value to 1 thr icon should disable. Again if i change the value to 2 after 5 mins the icon should visible. How it is possible? Can u please explain step by stepy