added class changing for the record button