Stopping video recording after user closes activity