Refactored code
Fixed bug with inspect

Fixed bug that when there were solved or wrong plain blocks and the
current tool is inspect and then when you press undo and the
solved/wrong blocks changed to unsolved then they were not inspected