Fix for #4 nullpointer in Toast notification.