fix critical bug in Controller.recalculateArea function and update GUI