Implemented settings toggling.