Moved needsRelayout to the Display class data, and made it private, in
order to make the solve button be able to update it after it solves it.