Avoid to perform action after fragment is finished.