Refactored the code of using callback between Activity and fragment.
Instead of having one listener interface class in each of the fragments
and implementing each of the interface in Activity class, created a
separate listener interface and put all the methods there. Thereby
activity always implements only one listener interface irrespective of
number of fragments.