Was this preventing a bug ? Why we have to show it twice?
It was written we should set it when alert was dismissed you should do this in delegate method