This should actually be "if (bitmapImage == null)..."