reboot menu fix

(cherry picked from commit 65348ec9a038df27a2c7c84602ebfcd674faff23)
(cherry picked from commit 2cb24512c154719bc4b44b679fe51c345f5e6e17)