protect against orientation change once task is finished