add record button etc in Mainwindow
update recording function