Editing CalculMentalPanel for fixing issues