fixing minor bug with the style of settings toggling