🐛 Fixed need to click Night Shift toggle 3 times in certain circumstances (#965)
🐛 Fixed need to click Night Shift toggle 3 times in certain circumstances (#965)

closes TryGhost/Ghost#9471
- added check for undefined value
- fixed the condition in feature.js _setAdminTheme
TryGhost/Ghost,TryGhost/Ghost,TryGhost/Ghost