Fixed some bugs.
Added a button to update solution when certain data is changed that doesn't affect to the structure of the solution.