Made a few changes to detail fragment