Technology developed to alert people to change face masks