Optimized code for 'ResetToCommitPresenter'