Resolve reboot dialog shown again after totation