modification of flag/hand switch button