Implemented callback interface for PDFFragment

This allow the fragment to update the view. Right now the only callback is to toggle the buttons