Bug fixed: record and upload video in both main and history view.