Implement toggle buttons for settings