For API 22, showDialog() is deprecated
For API 22, showDialog() is deprecated