disabling record button while recording