removed reference to Activity from AlertDialog