previous criteria statuses and history button added, but history button click functionality needs modifications to work.