add clearPreviourTaskHistory