Double function air valve