Made SystemTray hide when settings menu is open