added puig buttons callbacks