There is a QGIS bug where a pressed button sends multiple signals, meaning code is run multiple times
This is a problem for functions such as creating a new layer and running simulations
The current workaround in place only allows each function to be used once, after which the user must reload the plugin to use them again; this is obviously not ideal.
Must also check whether each function is written in such a way that it can be re-run without issues