Made buttons into switches. Implemented Checkboxes and onAccuracyChanged.