fixes #1 - where is from instance of new fragment?

Replaced useless replace method with variants similar to add. (main +
support)

Applied auto-formatting FragmentControllerApplication.