Implementing boolean settings toggle control