handle orientation change in restore on install dialog gracefully;previously dialog was shown multiple times