Updated the analysis button.

Before clicking the analyse button while it was calculating meant the
process was doubled and took lots of time to execute as it tried to
execute again and again. A simple bool fixed this so as not to allow
the button to execute whilst a calculation was being processed