added ui options for selecting recording directory and recording format