Add settings dialog to update timer_wait and distance_threshold