Improving the interface for communication between app and PageflipFragment