PhotoActivity class implementation
onItemSelected