Fix for alertDialog (more or less...)