Fixed failing unit-test
disable "analyse history" button if it's in process