Fixed settings menu from closing when checkbox was clicked