Add pausing video on switching activity.