use record instead of recordDuration

uses record instead of recordDuration and then we explicitly call stop when record button's touchUpInside/Outside event fires.