Added EventManager and modified fragment event listener