changed toast to alert dialog message