Remove old view and destroy scope concurrently in sample.