How to manage an AlertDialog with an simple_adatper