Fixed the issue where a "Fail" Toast appeared when the Done button was tapped on the history view