Updated Main Activity and Settings Activity and fragment_detail.xml