Add GUI support for configuring auto-focus mode