Updated DetailFragment layout and made separate class