added settings fix

made it so it didnt close when toggled