improved work with fragment, reaction onAttach and onDetach
Minor text improvement