Added check for NULL View object when showing message (#104).

Fix for issue #104
Solved by checking whether View has NULL value.