fixed permission asking in ios < 6