Extact recorderui logic to recorder service (I)