Fixed isHistoryBackEnabled issue