disabling settings menu when settings are shown