version detection in setting activity