Adding basic functionality for recording a sound