Added possibility to choose image from gallery