fixed up functionality when canceling/saving without stopping recording