STABLE: added button callbacks in adapter class