[513903] Correct NPE when opening preference pages and no default tool profile set Change-Id: I09c08ab4750b25d37f5db8f18ab1e76caf2263b6