Record button

This is the implementation of the button that controls the recording inside the client's UI.