Update Settings.java

Advanced Reboot - Hides reboot settings for recovery or download mode from the reset menu until the user is logged in. Option is set through developer tools menu.