Fixed crash with loading dialog
Added ability to choose photo and to make photo