Change the execution of the shadow calculation, now the calculation
starts only if the shadow recalculate button would be pressed 
(and on the start if selected, but it doesnt work yet and must be fixed)