AlertDialog survive after orientation change fix #238

Signed-off-by: Andrea Cappelli <a.cappelli87@gmail.com>