Fixed a small error in the ToolsPage view

Null pointer