add audio recording min duration and validation for settings file