Added a toggle for autofocus.