added new method to set bitmap

this allows to set a bitmap directly as an image to the imageView