implemented the callback interface

instead of the fragment, the activity now handles the callbacks