Fix reboot dialog causing hot reboot if user long presses power button more than once.

Change-Id: I7c41f4d9bc1c264d063cc5302678ee5079013540