Back button working in fragment and new Thing class