updated adapter to use 3 parameters
tweaked songActivity to use same openDialog method for any action