Implements reboot if needed by actions (asking the user)