Finishes fragments set up. TODO: Debug crash